<%--
  Created by IntelliJ IDEA.
  User: Ken
  Date: 2022/4/27
  Time: 9:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>后端管理登录页</title>
    <style>
        * {
            padding: 0px;
            margin: 0px;
        }

        body {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .main_div {
            width: 400px;
            height: 300px;
            border: 1px solid black;
            border-radius: 10px;
            box-shadow: 10px 10px 10px gray;
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            align-items: center;
        }

        .title_div {
            font-size: 30px;
            font-family: "楷体";
            text-shadow: 10px 10px 10px gray;
        }

        .btn_div button{
            width: 80px;
        }
    </style>
</head>
<body>
<form action="playerServlet?method=login" method="post">
    <div class="main_div">
        <div class="title_div">五子棋后端管理</div>
        <div>${param.status == "1" ? '用户名或者密码错误' : ''}</div>
        <div>
            <div>管理员用户名：<input name="username"/></div>
            <div>管理员密码：<input name="password" type="password"/></div>
        </div>
        <div class="btn_div">
            <button type="button" onclick="location.href='/back/index.jsp'">登录</button>
        </div>
    </div>
</form>
</body>
</html>
